package br.com.transitojp.dao;

import java.io.Serializable;
import java.util.List;

/**  
 * IGenericDAOHibernate.java - an interface for the DAOs that implements this class  
 * @author LAViD - Laboratório de Aplicação de Vídeo Digital.
 * @version 1.0 
 */
public interface IGenericDAOHibernate<T, ID extends Serializable> {
	
	T findById(ID id);
	List<T> findAll();
	T makePersistent(T entity);
	void makeTransient(T entity);

}
